<!doctype html>
<html lang="zh-CN">
<!-- Head -->
<head>
<title>{if $SEO['title']}{echo $SEO['title']} - {/if}{echo C('sitename')}{if C('sitebanner')} - {echo C('sitebanner')}{/if}</title>
<meta name="keywords" content="{if $SEO['keywords']}{echo $SEO['keywords']}{/if}" />
<meta name="description" content="{if $SEO['description']}{echo $SEO['description']}{/if}" />
<meta http-equiv="Content-Type" content="text/html; charset={echo C('S_CHARSET')}" />
<meta name="author" content="FoxPHP" />
<meta name="copyright" content="2006-2016 FoxPHP.Com" />
<link rel="shortcut icon" href="/assets/img/favicon.png" type="image/x-icon">
{if !empty($task['robots'])}
<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
{/if}
{template Public:Page:css}
{template Public:Page:js}

<link href="/assets/css/install.css" rel="stylesheet" />
<script src="/assets/js/validation/bootstrapValidator.js"></script>
</head>
<!-- /Head -->
<!-- Body -->
<body>
    <!-- Loading Container -->
    <div class="loading-container">
        <div class="loading-progress">
            <div class="rotator">
                <div class="rotator">
                    <div class="rotator colored">
                        <div class="rotator">
                            <div class="rotator colored">
                                <div class="rotator colored"></div>
                                <div class="rotator"></div>
                            </div>
                            <div class="rotator colored"></div>
                        </div>
                        <div class="rotator"></div>
                    </div>
                    <div class="rotator"></div>
                </div>
                <div class="rotator"></div>
            </div>
            <div class="rotator"></div>
        </div>
    </div>
    <!--  /Loading Container -->

	<div class="container-fluid header">
     
     <div class="container">
     
 	<div class="row">
 
     <div class="header_ad">
     </div>
     </div>
     
     <div class="row padding_pt_20">
     <div class="col-lg-2">
     <div class="row">
     <div class="header_logo"><a href="/" title="{echo C('sitename')}"></a></div>
     </div>
     </div>
     
     <div class="col-lg-2">
     <div class="slogan">
     安装系统
     </div>
     </div>

     
     </div>
     </div>
     </div>
<div id="UserUid" style="display:none"></div>
 <form action="/install/execute/post" method="post" id="FoxPHPForm" novalidate data-bv-feedbackicons-validating="glyphicon glyphicon-refresh" data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-valid="glyphicon glyphicon-ok">
          
<div class="container">
  <div class="row" style="padding-top:20px;">

   	<div style="background:#FFF" class="well">
        
        <div class="row">
              <div class="col-lg-12 col-sm-12 col-xs-12">
                <div class="wizard wizard-wired">
                  <ul class="steps">
                    <li data-target="#wiredstep1" class="complete"><span class="step">1</span><span class="title">接受FoxPHP协议</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep2" class="complete"><span class="step">2</span><span class="title">检测安装环境</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep3" class="active"><span class="step">3</span><span class="title">安装配置</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep4"><span class="step">4</span><span class="title">安装中</span> <span class="chevron"></span></li>
                    <li data-target="#wiredstep5"><span class="step">5</span><span class="title">安装完成</span> <span class="chevron"></span></li>
                  </ul>
                </div>
              </div>
        </div>
    
            <br>
        <div class="row"> 
        <div class="col-lg-10 col-lg-offset-1"> 
        	 <div class="row">
       		<div class="col-lg-11">
            <h3>数据库配置 <span style="font-size:14px;color:#FF3300">(提示：程序不会创建数据库,无数据库自行先在服务器或空间上创建)</span></h3>
            <hr>
            </div>
            </div>
            <div class="row">
       		<div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">数据库服务器</span>
                    <input type="text" name="DB_HOST" placeholder="localhost" value="localhost" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">数据库用户名</span>
                    <input type="text" name="DB_USER" placeholder="root" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">数据库&nbsp;&nbsp;密 码</span>
                    <input type="text" name="DB_PWD" placeholder="" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">数据库&nbsp;&nbsp;名 称</span>
                    <input type="text" name="DB_NAME" placeholder="foxphp" value="foxphp" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">数据库表前缀</span>
                    <input type="text" name="DB_PREFIX" placeholder="foxphp_" value="foxphp_" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div class="row">
       		<div class="col-lg-11">
            <h3>管理员帐号</h3>
            <hr>
            </div>
            </div>
            
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">管理员&nbsp;&nbsp;名 称</span>
                    <input type="text" name="username"  value="admin" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">管理员&nbsp;&nbsp;密 码</span>
                    <input type="password" name="password"  value="" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            
            <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">管理员&nbsp;&nbsp;邮 箱</span>
                    <input type="text" name="email"  value="admin@admin.com" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            
            <div class="row">
       		<div class="col-lg-11">
            <h3>财务号默认金额 <span style="font-size:14px">(网站交易财务号默认资金 单位元)</span></h3>
            <hr>
            </div>
            </div>
            
             <div class="row">
            <div class="col-lg-6">
			<div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon">管理员&nbsp;&nbsp;财 务</span>
                    <input type="text" name="money"  value="100000" class="form-control">
                </div>
            </div>
            </div>
            </div>
            
            <div id="FOXPHPINFO">   
                <div class="row">
                <div class="col-lg-11">
                <h3>FoxPHP官方授权</h3>
                <p><a href="javascript:;" onClick="$('#FOXPHPINFO').hide();">我先试用</a></p>
                <hr>
                </div>
                </div>
            
                <div class="row">
                <div class="col-lg-6">
                <div class="form-group">
                    <div class="input-group">
                        <span class="input-group-addon">官方授权&nbsp;&nbsp;ID</span>
                        <input type="text" name="FOXPHP_ID"  value="" class="form-control">
                    </div>
                </div>
                </div>
                </div>
                
                <div class="row">
                <div class="col-lg-6">
                <div class="form-group">
                    <div class="input-group">
                        <span class="input-group-addon">官方授权Key</span>
                        <input type="text" name="FOXPHP_AUTHORIZEKEY"  value="" class="form-control">
                    </div>
                </div>
                </div>
                </div>
                
                <div class="row">
                <div class="col-lg-6">
                <div class="form-group">
                    <div class="input-group">
                        <span class="input-group-addon">官方通信Key</span>
                        <input type="text" name="FOXPHP_SIGN"  value="" class="form-control">
                    </div>
                </div>
                </div>
                </div>
			</div>
         </div>
         </div>  
  		<br>
                    
		
          
		<div class="row">
               <div class="col-lg-11 col-lg-offset-1">
               	<div class="row"><a class="btn btn-default" href="/install/check">上一步</a> <button class="btn btn-success" type="submit">下一步</button></div>
               </div>
            </div>

</div>


<script>							
$(function(){
	$('#FoxPHPForm').bootstrapValidator({
		excluded: [':disabled'],
		feedbackIcons: {
			valid: 'glyphicon glyphicon-ok',
			invalid: 'glyphicon glyphicon-remove',
			validating: 'glyphicon glyphicon-refresh'
		},
		fields: {
			DB_HOST: {
				validators: {
					notEmpty: {
						message: '数据库服务器址不能为空！'
					}
				}
			},
			DB_USER: {
				validators: {
					notEmpty: {
						message: '数据库用户名不能为空！'
					}
				}
			},
			DB_PWD: {
				validators: {
					notEmpty: {
						message: '数据库密码不能为空！'
					}
				}
			},
			DB_NAME: {
				validators: {
					notEmpty: {
						message: '数据库名称不能为空！'
					}
				}
			},
			DB_PREFIX: {
				validators: {
					notEmpty: {
						message: '数据库表前缀不能为空！'
					}
				}
			},
			username: {
				validators: {
					notEmpty: {
						message: '管理员名称不能为空！'
					}
				}
			},
			password: {
				validators: {
					notEmpty: {
						message: '管理员密码不能为空！'
					}
				}
			},
			email: {
				validators: {
					notEmpty: {
						message: '管理员邮箱不能为空！'
					}
				}
			},
			money: {
				validators: {
					notEmpty: {
						message: '财务资金不能为空！'
					}
				}
			}
			/*
			,
			FOXPHP_ID: {
				validators: {
					notEmpty: {
						message: '官方授权ID不能为空！'
					}
				}
			},
			FOXPHP_AUTHORIZEKEY: {
				validators: {
					notEmpty: {
						message: '官方授权Key不能为空！'
					}
				}
			},
			FOXPHP_SIGN: {
				validators: {
					notEmpty: {
						message: '官方通信Key不能为空！'
					}
				}
			}
			*/
		}
	
	}) 

			
});	   

</script>


</div>
</div>


</form>

<div class="container-fluid footer">
  <div class="container">

    <div class="row text-center">                  
     <div class="breadcrumb">
     <li><a href="http://www.foxphp.com">FoxPHP官方网</a></li> 
     <li><a href="http://www.foxphp.com/product">FoxPHP介绍</a></li>
     <li><a href="http://www.foxphp.com/buy">购买FoxPHP授权</a></li>
     <li><a href="http://demo.foxphp.com">FoxPHP威客系统演示</a></li>
     <li><a href="http://www.foxphp.com/contact">联系方式</a></li>
     </div>
 	<p class="text-center">Copyright © 2006-{echo FormatDate("Y",NowTime())} FoxPHP.Com 版权所有 {if C('siteicp')}<a href="http://www.miibeian.gov.cn" target="_blank">{echo C('siteicp')}</a>{/if}  {if C('sitecount')}{echo C('sitecount')}{/if}</p>
           
    </div>
    </div>
</div>  


<script src="/assets/js/socket.io/socket.io.js"></script>
<script src="/assets/js/footer.js"></script>
</body><!--  /Body -->
</html>